package socketVersion.Backend.Rooms;

import java.io.Serializable;


public class Room implements Serializable{
	private static final long serialVersionUID = 586005708617537221L;
	private String location;
	private int numRooms;
	private int price;
	
	public Room(String location, int numRooms, int price){
		this.location = location;
		this.numRooms = numRooms;
		this.price = price;
	}
	
	public String getLocation(){
		return location;
	
	}
	
	public int getNumRooms(){
		return numRooms;
	}
	
	public int getPrice(){
		return price;
	}
	
	public boolean equals(Room r){
		if(r.getLocation().equals(location)){
			return true;
		}
		else{
			return false;
		}
	}

}
